<?php /* Smarty version 2.6.16, created on 2009-05-04 22:00:57
         compiled from JS.html */ ?>
<?php echo '
<script type="text/javascript">
<!--
function CheckAll(sForm, sElems, stat){
    var oForm = document.getElementById(sForm);
    var aCheckBox = document.getElementsByName(sElems);
    for (i=0; i<oForm.elements.length;i++){
        if ( oForm.elements[i].type == "checkbox" ){
            oForm.elements[i].checked = stat;
        }
    }
}
function makeIt(sFormId,sUrl){
    var sStr = document.URL;
    if (sUrl != \'\'){
        sStr = sUrl;
    }
    var oForm = document.getElementById(sFormId);
    oForm.action = sStr;
    oForm.submit();
}
//-->
</script>
'; ?>